package org.tsinghua.answer.domain.user;

import java.util.List;

import org.springframework.data.repository.PagingAndSortingRepository;

public interface UserSubjectRepository extends PagingAndSortingRepository<UserSubject, String> {

	List<UserSubject> findByUserId(String userId);
	
	void deleteByUserId(String userId);
}
